/* @(#)UploadFiles.java    V1.0
 *
 * Project: APEP 
 *
 * Modify Information:
 * =============================================================================
 *   Author       Date       Description
 *   ------------ ---------- ---------------------------------------------------
 *   wangp    {CREATE_TIME} First release
 *
 * Copyright Notice:
 * =============================================================================
 *    Copyright (c) 2001-2007 Auto-Parts E-Procurement Co., Ltd. 
 *        No.251-1 Wuning Road, Shanghai, 200063, China All rights reserved.
 *
 *    This software is the confidential and proprietary information of
 *        Auto-Parts E-Procurement Co., Ltd. ("Confidential Information").
 *        You shall not disclose such Confidential Information and shall use it
 *        only in accordance with the terms of the license agreement you entered
 *        into with APEP.
 *
 * Warning:
 * =============================================================================
 *   
 * 
 */
package com.apep.gw.synch;

import framework.core.*;

/*
	Author    :wangp
	CreateTime:{CREATE_TIME}
*/
public class UploadFilesSearchEvent extends SearchEvent
{

	private int m_ID = Value.NULL_INT ; // all

	private String m_WAREHOUSE_ID = "" ; // all

	private String m_FILE_NAME = "" ; // all

	private String m_FILE_PATH = "" ; // all

	private String m_FILE_TYPE = "" ; // all

	private int m_FILE_LENGTH = Value.NULL_INT ; // all

	private int m_IS_EXCUTE = Value.NULL_INT ; // all

	private String m_CREATE_TIME = "" ; // all

	private String m_EXCUTE_TIME = "" ; // all
		

public UploadFilesSearchEvent() 
{
	super();

	setOrderField(UploadFiles.ID);

}



	public int getId()
	{
		return m_ID ;
	}
	public void setId(int v)
	{
		m_ID = v;
	}

	public String getWarehouseId()
	{
		return m_WAREHOUSE_ID ;
	}
	public void setWarehouseId(String v)
	{
		m_WAREHOUSE_ID = v;
	}

	public String getFileName()
	{
		return m_FILE_NAME ;
	}
	public void setFileName(String v)
	{
		m_FILE_NAME = v;
	}

	public String getFilePath()
	{
		return m_FILE_PATH ;
	}
	public void setFilePath(String v)
	{
		m_FILE_PATH = v;
	}

	public String getFileType()
	{
		return m_FILE_TYPE ;
	}
	public void setFileType(String v)
	{
		m_FILE_TYPE = v;
	}

	public int getFileLength()
	{
		return m_FILE_LENGTH ;
	}
	public void setFileLength(int v)
	{
		m_FILE_LENGTH = v;
	}

	public int getIsExcute()
	{
		return m_IS_EXCUTE ;
	}
	public void setIsExcute(int v)
	{
		m_IS_EXCUTE = v;
	}

	public String getCreateTime()
	{
		return m_CREATE_TIME ;
	}
	public void setCreateTime(String v)
	{
		m_CREATE_TIME = v;
	}

	public String getExcuteTime()
	{
		return m_EXCUTE_TIME ;
	}
	public void setExcuteTime(String v)
	{
		m_EXCUTE_TIME = v;
	}
		


	
	public String viewId() throws Exception
	{
		return Value.view(getId());
	}
	
	public String viewWarehouseId() throws Exception
	{
		return Value.view(getWarehouseId());
	}
	
	public String viewFileName() throws Exception
	{
		return Value.view(getFileName());
	}
	
	public String viewFilePath() throws Exception
	{
		return Value.view(getFilePath());
	}
	
	public String viewFileType() throws Exception
	{
		return Value.view(getFileType());
	}
	
	public String viewFileLength() throws Exception
	{
		return Value.view(getFileLength());
	}
	
	public String viewIsExcute() throws Exception
	{
		return Value.view(getIsExcute());
	}
	
	public String viewCreateTime() throws Exception
	{
		return Value.view(getCreateTime());
	}
	
	public String viewExcuteTime() throws Exception
	{
		return Value.view(getExcuteTime());
	}


	public Conditions toConditions() throws Exception
	{
		Conditions c = super.toConditions();
	
	c.add(getCondition(UploadFiles.ID,getId()));
	
	c.add(getCondition(UploadFiles.WAREHOUSE_ID,getWarehouseId()));
	
	c.add(getCondition(UploadFiles.FILE_NAME,getFileName()));
	
	c.add(getCondition(UploadFiles.FILE_PATH,getFilePath()));
	
	c.add(getCondition(UploadFiles.FILE_TYPE,getFileType()));
	
	c.add(getCondition(UploadFiles.FILE_LENGTH,getFileLength()));
	
	c.add(getCondition(UploadFiles.IS_EXCUTE,getIsExcute()));
	
	c.add(getCondition(UploadFiles.CREATE_TIME,getCreateTime()));
	
	c.add(getCondition(UploadFiles.EXCUTE_TIME,getExcuteTime()));
		

			
		return c ;
	}
	
//add by wangp start

//add by wangp end
}
